<?php $this->headMeta()->appendHttpEquiv('Content-Type', 'text/html;charset=utf8'); echo $this->headMeta();?>
<!-- Bootstrap core CSS -->
<!DOCTYPE unspecified PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<link href="<?=WEB_PATH?>/public/imgs/favicon.png" rel="shortcut icon">
<link href="<?=WEB_PATH?>/public/css/bootstrap.css" rel="stylesheet">
<link href="<?=WEB_PATH?>/public/css/style.css" rel="stylesheet">

<!-- Bootstrap core JavaScript
 ================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="<?=WEB_PATH?>/public/js/jquery-1.10.2.js"></script>
<script src="<?=WEB_PATH?>/public/js/bootstrap.js"></script>
<script src="<?=WEB_PATH?>/public/js/bootstrap-slider.js"></script>

<div class="navbar navbar-fixed-top navbar-inverse" >
	<div class="container">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle" data-toggle="collapse"
				data-target=".navbar-collapse">
				<span class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
			</button>
			<a class="navbar-brand" href="<?=WEB_PATH?>/admin">PhoneSale</a>
		</div>
		<div class="collapse navbar-collapse">
			<ul class="nav navbar-nav navbar-right">
				<li>
					<?php 
						$session = new Zend_Session_Namespace('login');
						if (isset($session->login)) {
					?>
						<div class="btn-group navbar-form">
						  <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
						    Welcome admin<span class="caret"></span>
						  </button>
						  <ul class="dropdown-menu" role="menu">
						    <li><a href="<?=WEB_PATH?>/admin/index/logout">Logout</a></li>
						  </ul>
						</div>
					<?php }?>
					</li>
			</ul>
		</div>
		<!-- /.nav-collapse -->
	</div>
	<!-- /.container -->
</div>
<!-- /.navbar -->
<?php echo $this->layout()->content; ?>





